package com.nightsoul.restlet.test.servlet;

import org.restlet.Application;
import org.restlet.Restlet;
import org.restlet.routing.Router;

public class RestletApplication extends Application {

	@Override
	public Restlet createInboundRoot() {
		
		Router router = new Router(getContext());  
        router.attach("/hello/{name}", RestletResource.class); 
		
		return router;
	}
}
